package com.goods.business.service;

import com.github.pagehelper.PageInfo;
import com.goods.common.model.business.InStock;
import com.goods.common.vo.business.InStockItemVO;
import com.goods.common.vo.business.InStockVO;

public interface InStockService {
    PageInfo<InStockVO> findInStockList(String pageNum, String pageSize, String status, String type, String inNum, String startTime, String endTime);

    PageInfo<InStockItemVO> detail(Long id, String pageNum);

    InStock findOneInStock(Long id);

    void remove(Long id);

    void back(Long id);

    void publish(Long id);

    void delete(Long id);

    void add(InStockVO inStockVO,String username);
    //PageInfo<InStockVO> findInStockList(String pageNum, String pageSize,InStockVO inStockVO);
}
